package com.f5.management.dao;

import com.f5.management.entity.Activity;
import com.f5.management.entity.Complaint;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ComplaintDAO {
    List<Complaint> list();

    Complaint get(int id);

    void insert(Complaint complaint);

    void update(Complaint complaint);

    void delete(int id);

    int count();
}
